package com.rc.evcharger.model.rc;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcMemberGainSettingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcMemberGainSettingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMemberGainIdIsNull() {
            addCriterion("member_gain_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdIsNotNull() {
            addCriterion("member_gain_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdEqualTo(Long value) {
            addCriterion("member_gain_id =", value, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdNotEqualTo(Long value) {
            addCriterion("member_gain_id <>", value, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdGreaterThan(Long value) {
            addCriterion("member_gain_id >", value, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_gain_id >=", value, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdLessThan(Long value) {
            addCriterion("member_gain_id <", value, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdLessThanOrEqualTo(Long value) {
            addCriterion("member_gain_id <=", value, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdIn(List<Long> values) {
            addCriterion("member_gain_id in", values, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdNotIn(List<Long> values) {
            addCriterion("member_gain_id not in", values, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdBetween(Long value1, Long value2) {
            addCriterion("member_gain_id between", value1, value2, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberGainIdNotBetween(Long value1, Long value2) {
            addCriterion("member_gain_id not between", value1, value2, "memberGainId");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIsNull() {
            addCriterion("member_level is null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIsNotNull() {
            addCriterion("member_level is not null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelEqualTo(String value) {
            addCriterion("member_level =", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotEqualTo(String value) {
            addCriterion("member_level <>", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelGreaterThan(String value) {
            addCriterion("member_level >", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelGreaterThanOrEqualTo(String value) {
            addCriterion("member_level >=", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLessThan(String value) {
            addCriterion("member_level <", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLessThanOrEqualTo(String value) {
            addCriterion("member_level <=", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLike(String value) {
            addCriterion("member_level like", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotLike(String value) {
            addCriterion("member_level not like", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIn(List<String> values) {
            addCriterion("member_level in", values, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotIn(List<String> values) {
            addCriterion("member_level not in", values, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelBetween(String value1, String value2) {
            addCriterion("member_level between", value1, value2, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotBetween(String value1, String value2) {
            addCriterion("member_level not between", value1, value2, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andLevelSubIsNull() {
            addCriterion("level_sub is null");
            return (Criteria) this;
        }

        public Criteria andLevelSubIsNotNull() {
            addCriterion("level_sub is not null");
            return (Criteria) this;
        }

        public Criteria andLevelSubEqualTo(String value) {
            addCriterion("level_sub =", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubNotEqualTo(String value) {
            addCriterion("level_sub <>", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubGreaterThan(String value) {
            addCriterion("level_sub >", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubGreaterThanOrEqualTo(String value) {
            addCriterion("level_sub >=", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubLessThan(String value) {
            addCriterion("level_sub <", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubLessThanOrEqualTo(String value) {
            addCriterion("level_sub <=", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubLike(String value) {
            addCriterion("level_sub like", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubNotLike(String value) {
            addCriterion("level_sub not like", value, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubIn(List<String> values) {
            addCriterion("level_sub in", values, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubNotIn(List<String> values) {
            addCriterion("level_sub not in", values, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubBetween(String value1, String value2) {
            addCriterion("level_sub between", value1, value2, "levelSub");
            return (Criteria) this;
        }

        public Criteria andLevelSubNotBetween(String value1, String value2) {
            addCriterion("level_sub not between", value1, value2, "levelSub");
            return (Criteria) this;
        }

        public Criteria andGainNameIsNull() {
            addCriterion("gain_name is null");
            return (Criteria) this;
        }

        public Criteria andGainNameIsNotNull() {
            addCriterion("gain_name is not null");
            return (Criteria) this;
        }

        public Criteria andGainNameEqualTo(String value) {
            addCriterion("gain_name =", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotEqualTo(String value) {
            addCriterion("gain_name <>", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameGreaterThan(String value) {
            addCriterion("gain_name >", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameGreaterThanOrEqualTo(String value) {
            addCriterion("gain_name >=", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameLessThan(String value) {
            addCriterion("gain_name <", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameLessThanOrEqualTo(String value) {
            addCriterion("gain_name <=", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameLike(String value) {
            addCriterion("gain_name like", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotLike(String value) {
            addCriterion("gain_name not like", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameIn(List<String> values) {
            addCriterion("gain_name in", values, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotIn(List<String> values) {
            addCriterion("gain_name not in", values, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameBetween(String value1, String value2) {
            addCriterion("gain_name between", value1, value2, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotBetween(String value1, String value2) {
            addCriterion("gain_name not between", value1, value2, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainTypeIsNull() {
            addCriterion("gain_type is null");
            return (Criteria) this;
        }

        public Criteria andGainTypeIsNotNull() {
            addCriterion("gain_type is not null");
            return (Criteria) this;
        }

        public Criteria andGainTypeEqualTo(String value) {
            addCriterion("gain_type =", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotEqualTo(String value) {
            addCriterion("gain_type <>", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeGreaterThan(String value) {
            addCriterion("gain_type >", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeGreaterThanOrEqualTo(String value) {
            addCriterion("gain_type >=", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeLessThan(String value) {
            addCriterion("gain_type <", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeLessThanOrEqualTo(String value) {
            addCriterion("gain_type <=", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeLike(String value) {
            addCriterion("gain_type like", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotLike(String value) {
            addCriterion("gain_type not like", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeIn(List<String> values) {
            addCriterion("gain_type in", values, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotIn(List<String> values) {
            addCriterion("gain_type not in", values, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeBetween(String value1, String value2) {
            addCriterion("gain_type between", value1, value2, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotBetween(String value1, String value2) {
            addCriterion("gain_type not between", value1, value2, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainLogoIsNull() {
            addCriterion("gain_logo is null");
            return (Criteria) this;
        }

        public Criteria andGainLogoIsNotNull() {
            addCriterion("gain_logo is not null");
            return (Criteria) this;
        }

        public Criteria andGainLogoEqualTo(String value) {
            addCriterion("gain_logo =", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotEqualTo(String value) {
            addCriterion("gain_logo <>", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoGreaterThan(String value) {
            addCriterion("gain_logo >", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoGreaterThanOrEqualTo(String value) {
            addCriterion("gain_logo >=", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLessThan(String value) {
            addCriterion("gain_logo <", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLessThanOrEqualTo(String value) {
            addCriterion("gain_logo <=", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLike(String value) {
            addCriterion("gain_logo like", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotLike(String value) {
            addCriterion("gain_logo not like", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoIn(List<String> values) {
            addCriterion("gain_logo in", values, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotIn(List<String> values) {
            addCriterion("gain_logo not in", values, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoBetween(String value1, String value2) {
            addCriterion("gain_logo between", value1, value2, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotBetween(String value1, String value2) {
            addCriterion("gain_logo not between", value1, value2, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainExplainIsNull() {
            addCriterion("gain_explain is null");
            return (Criteria) this;
        }

        public Criteria andGainExplainIsNotNull() {
            addCriterion("gain_explain is not null");
            return (Criteria) this;
        }

        public Criteria andGainExplainEqualTo(String value) {
            addCriterion("gain_explain =", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotEqualTo(String value) {
            addCriterion("gain_explain <>", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainGreaterThan(String value) {
            addCriterion("gain_explain >", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainGreaterThanOrEqualTo(String value) {
            addCriterion("gain_explain >=", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainLessThan(String value) {
            addCriterion("gain_explain <", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainLessThanOrEqualTo(String value) {
            addCriterion("gain_explain <=", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainLike(String value) {
            addCriterion("gain_explain like", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotLike(String value) {
            addCriterion("gain_explain not like", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainIn(List<String> values) {
            addCriterion("gain_explain in", values, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotIn(List<String> values) {
            addCriterion("gain_explain not in", values, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainBetween(String value1, String value2) {
            addCriterion("gain_explain between", value1, value2, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotBetween(String value1, String value2) {
            addCriterion("gain_explain not between", value1, value2, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNull() {
            addCriterion("is_default is null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNotNull() {
            addCriterion("is_default is not null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultEqualTo(String value) {
            addCriterion("is_default =", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotEqualTo(String value) {
            addCriterion("is_default <>", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThan(String value) {
            addCriterion("is_default >", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThanOrEqualTo(String value) {
            addCriterion("is_default >=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThan(String value) {
            addCriterion("is_default <", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThanOrEqualTo(String value) {
            addCriterion("is_default <=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLike(String value) {
            addCriterion("is_default like", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotLike(String value) {
            addCriterion("is_default not like", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIn(List<String> values) {
            addCriterion("is_default in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotIn(List<String> values) {
            addCriterion("is_default not in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultBetween(String value1, String value2) {
            addCriterion("is_default between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotBetween(String value1, String value2) {
            addCriterion("is_default not between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetIsNull() {
            addCriterion("refund_count_target is null");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetIsNotNull() {
            addCriterion("refund_count_target is not null");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetEqualTo(Integer value) {
            addCriterion("refund_count_target =", value, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetNotEqualTo(Integer value) {
            addCriterion("refund_count_target <>", value, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetGreaterThan(Integer value) {
            addCriterion("refund_count_target >", value, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetGreaterThanOrEqualTo(Integer value) {
            addCriterion("refund_count_target >=", value, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetLessThan(Integer value) {
            addCriterion("refund_count_target <", value, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetLessThanOrEqualTo(Integer value) {
            addCriterion("refund_count_target <=", value, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetIn(List<Integer> values) {
            addCriterion("refund_count_target in", values, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetNotIn(List<Integer> values) {
            addCriterion("refund_count_target not in", values, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetBetween(Integer value1, Integer value2) {
            addCriterion("refund_count_target between", value1, value2, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundCountTargetNotBetween(Integer value1, Integer value2) {
            addCriterion("refund_count_target not between", value1, value2, "refundCountTarget");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselIsNull() {
            addCriterion("refund_unhandsel is null");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselIsNotNull() {
            addCriterion("refund_unhandsel is not null");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselEqualTo(Integer value) {
            addCriterion("refund_unhandsel =", value, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselNotEqualTo(Integer value) {
            addCriterion("refund_unhandsel <>", value, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselGreaterThan(Integer value) {
            addCriterion("refund_unhandsel >", value, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselGreaterThanOrEqualTo(Integer value) {
            addCriterion("refund_unhandsel >=", value, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselLessThan(Integer value) {
            addCriterion("refund_unhandsel <", value, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselLessThanOrEqualTo(Integer value) {
            addCriterion("refund_unhandsel <=", value, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselIn(List<Integer> values) {
            addCriterion("refund_unhandsel in", values, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselNotIn(List<Integer> values) {
            addCriterion("refund_unhandsel not in", values, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselBetween(Integer value1, Integer value2) {
            addCriterion("refund_unhandsel between", value1, value2, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andRefundUnhandselNotBetween(Integer value1, Integer value2) {
            addCriterion("refund_unhandsel not between", value1, value2, "refundUnhandsel");
            return (Criteria) this;
        }

        public Criteria andReliefTypeIsNull() {
            addCriterion("relief_type is null");
            return (Criteria) this;
        }

        public Criteria andReliefTypeIsNotNull() {
            addCriterion("relief_type is not null");
            return (Criteria) this;
        }

        public Criteria andReliefTypeEqualTo(String value) {
            addCriterion("relief_type =", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeNotEqualTo(String value) {
            addCriterion("relief_type <>", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeGreaterThan(String value) {
            addCriterion("relief_type >", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeGreaterThanOrEqualTo(String value) {
            addCriterion("relief_type >=", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeLessThan(String value) {
            addCriterion("relief_type <", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeLessThanOrEqualTo(String value) {
            addCriterion("relief_type <=", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeLike(String value) {
            addCriterion("relief_type like", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeNotLike(String value) {
            addCriterion("relief_type not like", value, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeIn(List<String> values) {
            addCriterion("relief_type in", values, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeNotIn(List<String> values) {
            addCriterion("relief_type not in", values, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeBetween(String value1, String value2) {
            addCriterion("relief_type between", value1, value2, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefTypeNotBetween(String value1, String value2) {
            addCriterion("relief_type not between", value1, value2, "reliefType");
            return (Criteria) this;
        }

        public Criteria andReliefFullIsNull() {
            addCriterion("relief_full is null");
            return (Criteria) this;
        }

        public Criteria andReliefFullIsNotNull() {
            addCriterion("relief_full is not null");
            return (Criteria) this;
        }

        public Criteria andReliefFullEqualTo(Integer value) {
            addCriterion("relief_full =", value, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullNotEqualTo(Integer value) {
            addCriterion("relief_full <>", value, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullGreaterThan(Integer value) {
            addCriterion("relief_full >", value, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullGreaterThanOrEqualTo(Integer value) {
            addCriterion("relief_full >=", value, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullLessThan(Integer value) {
            addCriterion("relief_full <", value, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullLessThanOrEqualTo(Integer value) {
            addCriterion("relief_full <=", value, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullIn(List<Integer> values) {
            addCriterion("relief_full in", values, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullNotIn(List<Integer> values) {
            addCriterion("relief_full not in", values, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullBetween(Integer value1, Integer value2) {
            addCriterion("relief_full between", value1, value2, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefFullNotBetween(Integer value1, Integer value2) {
            addCriterion("relief_full not between", value1, value2, "reliefFull");
            return (Criteria) this;
        }

        public Criteria andReliefReduceIsNull() {
            addCriterion("relief_reduce is null");
            return (Criteria) this;
        }

        public Criteria andReliefReduceIsNotNull() {
            addCriterion("relief_reduce is not null");
            return (Criteria) this;
        }

        public Criteria andReliefReduceEqualTo(Integer value) {
            addCriterion("relief_reduce =", value, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceNotEqualTo(Integer value) {
            addCriterion("relief_reduce <>", value, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceGreaterThan(Integer value) {
            addCriterion("relief_reduce >", value, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceGreaterThanOrEqualTo(Integer value) {
            addCriterion("relief_reduce >=", value, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceLessThan(Integer value) {
            addCriterion("relief_reduce <", value, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceLessThanOrEqualTo(Integer value) {
            addCriterion("relief_reduce <=", value, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceIn(List<Integer> values) {
            addCriterion("relief_reduce in", values, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceNotIn(List<Integer> values) {
            addCriterion("relief_reduce not in", values, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceBetween(Integer value1, Integer value2) {
            addCriterion("relief_reduce between", value1, value2, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andReliefReduceNotBetween(Integer value1, Integer value2) {
            addCriterion("relief_reduce not between", value1, value2, "reliefReduce");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumIsNull() {
            addCriterion("consume_enum is null");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumIsNotNull() {
            addCriterion("consume_enum is not null");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumEqualTo(String value) {
            addCriterion("consume_enum =", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumNotEqualTo(String value) {
            addCriterion("consume_enum <>", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumGreaterThan(String value) {
            addCriterion("consume_enum >", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumGreaterThanOrEqualTo(String value) {
            addCriterion("consume_enum >=", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumLessThan(String value) {
            addCriterion("consume_enum <", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumLessThanOrEqualTo(String value) {
            addCriterion("consume_enum <=", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumLike(String value) {
            addCriterion("consume_enum like", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumNotLike(String value) {
            addCriterion("consume_enum not like", value, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumIn(List<String> values) {
            addCriterion("consume_enum in", values, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumNotIn(List<String> values) {
            addCriterion("consume_enum not in", values, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumBetween(String value1, String value2) {
            addCriterion("consume_enum between", value1, value2, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andConsumeEnumNotBetween(String value1, String value2) {
            addCriterion("consume_enum not between", value1, value2, "consumeEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumIsNull() {
            addCriterion("handsel_enum is null");
            return (Criteria) this;
        }

        public Criteria andHandselEnumIsNotNull() {
            addCriterion("handsel_enum is not null");
            return (Criteria) this;
        }

        public Criteria andHandselEnumEqualTo(String value) {
            addCriterion("handsel_enum =", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumNotEqualTo(String value) {
            addCriterion("handsel_enum <>", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumGreaterThan(String value) {
            addCriterion("handsel_enum >", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumGreaterThanOrEqualTo(String value) {
            addCriterion("handsel_enum >=", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumLessThan(String value) {
            addCriterion("handsel_enum <", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumLessThanOrEqualTo(String value) {
            addCriterion("handsel_enum <=", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumLike(String value) {
            addCriterion("handsel_enum like", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumNotLike(String value) {
            addCriterion("handsel_enum not like", value, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumIn(List<String> values) {
            addCriterion("handsel_enum in", values, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumNotIn(List<String> values) {
            addCriterion("handsel_enum not in", values, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumBetween(String value1, String value2) {
            addCriterion("handsel_enum between", value1, value2, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andHandselEnumNotBetween(String value1, String value2) {
            addCriterion("handsel_enum not between", value1, value2, "handselEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumIsNull() {
            addCriterion("relief_enum is null");
            return (Criteria) this;
        }

        public Criteria andReliefEnumIsNotNull() {
            addCriterion("relief_enum is not null");
            return (Criteria) this;
        }

        public Criteria andReliefEnumEqualTo(String value) {
            addCriterion("relief_enum =", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumNotEqualTo(String value) {
            addCriterion("relief_enum <>", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumGreaterThan(String value) {
            addCriterion("relief_enum >", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumGreaterThanOrEqualTo(String value) {
            addCriterion("relief_enum >=", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumLessThan(String value) {
            addCriterion("relief_enum <", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumLessThanOrEqualTo(String value) {
            addCriterion("relief_enum <=", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumLike(String value) {
            addCriterion("relief_enum like", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumNotLike(String value) {
            addCriterion("relief_enum not like", value, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumIn(List<String> values) {
            addCriterion("relief_enum in", values, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumNotIn(List<String> values) {
            addCriterion("relief_enum not in", values, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumBetween(String value1, String value2) {
            addCriterion("relief_enum between", value1, value2, "reliefEnum");
            return (Criteria) this;
        }

        public Criteria andReliefEnumNotBetween(String value1, String value2) {
            addCriterion("relief_enum not between", value1, value2, "reliefEnum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}